package com.tangyuan.ai.entity.dto;

import com.tangyuan.ai.entity.vo.RequestMessageVo;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.List;


@Data
@Component
public class AiRequestBodyDTO {

    private List<RequestMessageVo> messages;

    private float temperature;

    private Long userId;

    private String system;

    private boolean stream;

    //是否开启系统记忆，说明：
    //（1）false：未开启，默认false
    //（2）true：表示开启，开启后，system_memory_id字段必填
    private boolean enableSystemMemory;

    //系统记忆ID，用于读取对应ID下的系统记忆，读取到的记忆文本内容会拼接message参与请求推理
    private String systemMemoryId;

    private int maxOutputTokens;
}
